#!/usr/bin/env python

"""
This script creates a phyloxml formatted tree from a ssummo results file.
It's most useful because it contains the functions in order to make that
phyloxml, so is called by comparative_results.py and SSUMMO.py.

Description:
Creates phyloxml formatted tree from a SSuMMo results dictionary.
Simple as that.

Useage:-
dict_to_phyloxml.py /path/to/SSuMMoresults.pkl

"""

# Copyright (c) Alex Leach. 2011-2013
# Contact: Alex Leach (albl500@york.ac.uk)
# University of York, Department of Biology,
# Wentworth Way, York YO10 4DU, United Kingdom
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have receive a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>

if __name__ == '__main__':
    from ssummo.phyloxml import exec_dict_to_phyloxml
    exec_dict_to_phyloxml()
